package com.doxiaopu.students.order.vo;

import com.doxiaopu.students.component.vo.CommonVO;
import com.doxiaopu.students.product.entity.Single;

import java.util.Date;

public class OrderVO extends CommonVO {
    private static final long serialVersionUID = -2685067892262960899L;
    private Integer id;
    private String singleid;   //团单id
    private String consumersname;   //消费者名
    private String phone;   //消费者电话
    private String note;    //消费者备注
    private Integer sallnumber; //销售数量
    private Integer allPrice;   //总价
    private String userid; //消费者用户id
    private String qrurl;   //二维码地址
    private String ordernumber; //订单编码
    private String Ordertime;   //创建订单时间
    private Integer types;  //订单状态（0-未支付；1-未消费；2-已消费）
    private String orderimg;    //订单头图
    private Single single;  //团单
    private String checkOffCode; //订单核销码
    private String writeOffShop;//核销店铺
    private Date writeOffTime;  //核销时间
    private String paymentMethod;//支付方式（0-余额支付；1-微信支付；2支付宝支付）

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSingleid() {
        return singleid;
    }

    public void setSingleid(String singleid) {
        this.singleid = singleid;
    }

    public String getConsumersname() {
        return consumersname;
    }

    public void setConsumersname(String consumersname) {
        this.consumersname = consumersname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Integer getSallnumber() {
        return sallnumber;
    }

    public void setSallnumber(Integer sallnumber) {
        this.sallnumber = sallnumber;
    }

    public Integer getAllPrice() {
        return allPrice;
    }

    public void setAllPrice(Integer allPrice) {
        this.allPrice = allPrice;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getQrurl() {
        return qrurl;
    }

    public void setQrurl(String qrurl) {
        this.qrurl = qrurl;
    }

    public String getOrdernumber() {
        return ordernumber;
    }

    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber;
    }

    public String getOrdertime() {
        return Ordertime;
    }

    public void setOrdertime(String ordertime) {
        Ordertime = ordertime;
    }

    public Integer getTypes() {
        return types;
    }

    public void setTypes(Integer types) {
        this.types = types;
    }

    public String getOrderimg() {
        return orderimg;
    }

    public void setOrderimg(String orderimg) {
        this.orderimg = orderimg;
    }

    public Single getSingle() {
        return single;
    }

    public void setSingle(Single single) {
        this.single = single;
    }

    public String getCheckOffCode() {
        return checkOffCode;
    }

    public void setCheckOffCode(String checkOffCode) {
        this.checkOffCode = checkOffCode;
    }

    public String getWriteOffShop() {
        return writeOffShop;
    }

    public void setWriteOffShop(String writeOffShop) {
        this.writeOffShop = writeOffShop;
    }

    public Date getWriteOffTime() {
        return writeOffTime;
    }

    public void setWriteOffTime(Date writeOffTime) {
        this.writeOffTime = writeOffTime;
    }

    public String getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(String paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    @Override
    public String toString() {
        return "OrderVO{" +
                "id=" + id +
                ", singleid=" + singleid +
                ", consumersname='" + consumersname + '\'' +
                ", phone='" + phone + '\'' +
                ", note='" + note + '\'' +
                ", sallnumber=" + sallnumber +
                ", allPrice=" + allPrice +
                ", userid=" + userid +
                ", qrurl='" + qrurl + '\'' +
                ", ordernumber='" + ordernumber + '\'' +
                ", Ordertime='" + Ordertime + '\'' +
                ", types=" + types +
                ", orderimg='" + orderimg + '\'' +
                ", single=" + single +
                ", checkOffCode='" + checkOffCode + '\'' +
                ", writeOffShop='" + writeOffShop + '\'' +
                ", writeOffTime=" + writeOffTime +
                ", paymentMethod='" + paymentMethod + '\'' +
                '}';
    }
}
